﻿<?php
/*精确查询已缴费学生*/
('Access-Control-Allow-Origin：*');
include("../config/mysql.php");
$student_id = $_REQUEST['student_id'];

$sql = "SELECT ispay FROM students WHERE id = {$student_id} AND ispay = '1'";

$Mysql = new Mysql();
$count = $Mysql->getResultNum($sql);
echo $count;
/*关闭连接*/
$Mysql->close();
